export default {
    bind(el,binding){
        const  arr=JSON.parse(localStorage.getItem("permission"))
        // 当前元素绑定的数据
        const has =binding.value
          console.log(has);
        const  hasthing=arr.includes(has)
        if(!hasthing){
            el.style.display="none"
            setTimeout(()=>{
                el.parentNode.removeChild(el);
            })
        }
    }
}